
#include <stdio.h>
#include<assert.h>
int my_strlen(const char* p1)
{
	int count = 0;
	assert(*p1 != '\0');
	while (*p1)
	{
		p1++;
		count++;
	}
	return count;
}

int main()
{
	char a[] = "asdadas";
	printf("%d", my_strlen(a));
	return 0;
}